{% extends "blog.html" %}
{% block content %}
  <form action="{{config.url_blog}}/edit/{{ blog.key.id }}/" method="post">
    <input type="hidden" id="id" name="id" value="{{ blog.key.id }}"/>
    <div>
    <label for="title">{{ lang.title }}:</label><br>
    <input type="text" class="bloginput" name="title" maxlength="256" value="{{ blog.title }}"/>
    </div>
    <div>
    <label for="tags">{{ lang.tags }}:{{ lang.tags_tips }}</label><br>
    <input type="text" class="bloginput" name="tags" maxlength="256" value="{{ blog.blog_tag }}"/>
    </div>    
    <div>
    <label for="content">{{ lang.content }}:</label><br>
    <textarea id="wysiwyg" class="bloginput" name="content" rows="20">{{ blog.content }}</textarea>
    </div>
    <div>
    <input type="submit" class="button" value="{{ lang.edit }}">
    </div>
  </form>
{% endblock %}
